#include <iostream>
#include "HuffmanCodec.h"
#include "CodecFactory.h"
#include "CodecSettings.h"
#include "CodecStream.h"

using namespace std;
using namespace Huffman;

int main(int argc, char* argv[]) {

	CodecFactory* codecFactory = new CodecFactory();
	HuffmanCodec* huffmanCodec = codecFactory->createHuffmanCodec("input.txt", "output.txt");

	huffmanCodec->compress();
	/*huffmanCodec->decompress();*/

	delete codecFactory;
	delete huffmanCodec;

	return 0;
}